
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca válida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 502<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">9119</td>
		    	<td class="value error-col-3 total ko">95.089 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out: localhost/127.0.0.1:9999<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">460</td>
		    	<td class="value error-col-3 total ko">4.797 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">10</td>
		    	<td class="value error-col-3 total ko">0.104 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">Request timeout to localhost/127.0.0.1:9999 after 60000 ms<span class="value" style="display:none">3</span></td>
		    	<td class="value error-col-2 total ko">1</td>
		    	<td class="value error-col-3 total ko">0.01 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-va-lida-d7f0d'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['300', '900', '1500', '2100', '2700', '3300', '3900', '4500', '5100', '5700', '6300', '6900', '7500', '8100', '8700', '9300', '9900', '10500', '11100', '11700', '12300', '12900', '13500', '14100', '14700', '15300', '15900', '16500', '17100', '17700', '18300', '18900', '19500', '20100', '20700', '21300', '21900', '22500', '23100', '23700', '24300', '24900', '25500', '26100', '26700', '27300', '27900', '28500', '29100', '29700', '30300', '30900', '31500', '32100', '32700', '33300', '33900', '34500', '35100', '35700', '36300', '36900', '37500', '38100', '38700', '39300', '39900', '40500', '41100', '41700', '42300', '42900', '43500', '44100', '44700', '45300', '45900', '46500', '47100', '47700', '48300', '48900', '49500', '50100', '50700', '51300', '51900', '52500', '53100', '53700', '54300', '54900', '55500', '56100', '56700', '57300', '57900', '58500', '59100', '59700'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  63.24,1.07,0.1,0.15,0.64,0.82,0.32,0.66,1.36,1.87,0.91,0.87,0.17,0.69,1.23,1.81,7.48,3.33,3.23,2.77,1.82,1.45,1.27,0.27,0.6,0.31,0.29,0.12,0.35,0.26,0.14,0.03,0.17,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692816501,null],[1692816502,null],[1692816503,null],[1692816504,null],[1692816505,null],[1692816506,null],[1692816507,null],[1692816508,null],[1692816509,null],[1692816510,null],[1692816511,null],[1692816512,null],[1692816513,null],[1692816514,null],[1692816515,null],[1692816516,null],[1692816517,null],[1692816518,null],[1692816519,null],[1692816520,null],[1692816521,null],[1692816522,null],[1692816523,null],[1692816524,null],[1692816525,null],[1692816526,null],[1692816527,null],[1692816528,null],[1692816529,null],[1692816530,null],[1692816531,null],[1692816532,null],[1692816533,null],[1692816534,null],[1692816535,null],[1692816536,null],[1692816537,null],[1692816538,null],[1692816539,null],[1692816540,null],[1692816541,null],[1692816542,null],[1692816543,null],[1692816544,null],[1692816545,null],[1692816546,null],[1692816547,null],[1692816548,null],[1692816549,null],[1692816550,null],[1692816551,null],[1692816552,null],[1692816553,null],[1692816554,null],[1692816555,null],[1692816556,null],[1692816557,null],[1692816558,null],[1692816559,null],[1692816560,null],[1692816561,null],[1692816562,null],[1692816563,null],[1692816564,null],[1692816565,null],[1692816566,null],[1692816567,null],[1692816568,null],[1692816569,null],[1692816570,null],[1692816571,null],[1692816572,null],[1692816573,null],[1692816574,null],[1692816575,null],[1692816576,null],[1692816577,null],[1692816578,null],[1692816579,null],[1692816580,null],[1692816581,null],[1692816582,null],[1692816583,null],[1692816584,null],[1692816585,null],[1692816586,null],[1692816587,null],[1692816588,null],[1692816589,null],[1692816590,null],[1692816591,null],[1692816592,null],[1692816593,null],[1692816594,null],[1692816595,null],[1692816596,null],[1692816597,null],[1692816598,null],[1692816599,null],[1692816600,null],[1692816601,null],[1692816602,null],[1692816603,null],[1692816604,null],[1692816605,null],[1692816606,null],[1692816607,null],[1692816608,null],[1692816609,null],[1692816610,null],[1692816611,null],[1692816612,null],[1692816613,null],[1692816614,null],[1692816615,null],[1692816616,null],[1692816617,null],[1692816618,null],[1692816619,null],[1692816620,null],[1692816621,null],[1692816622,null],[1692816623,null],[1692816624,null],[1692816625,null],[1692816626,null],[1692816627,null],[1692816628,null],[1692816629,null],[1692816630,null],[1692816631,null],[1692816632,null],[1692816633,null],[1692816634,null],[1692816635,null],[1692816636,null],[1692816637,null],[1692816638,null],[1692816639,null],[1692816640,null],[1692816641,null],[1692816642,null],[1692816643,null],[1692816644,null],[1692816645,null],[1692816646,null],[1692816647,null],[1692816648,null],[1692816649,null],[1692816650,null],[1692816651,null],[1692816652,null],[1692816653,null],[1692816654,null],[1692816655,null],[1692816656,null],[1692816657,null],[1692816658,null],[1692816659,null],[1692816660,null],[1692816661,null],[1692816662,null],[1692816663,null],[1692816664,null],[1692816665,null],[1692816666,null],[1692816667,null],[1692816668,null],[1692816669,null],[1692816670,null],[1692816671,null],[1692816672,null],[1692816673,null],[1692816674,null],[1692816675,null],[1692816676,null],[1692816677,null],[1692816678,null],[1692816679,null],[1692816680,null],[1692816681,null],[1692816682,null],[1692816683,null],[1692816684,null],[1692816685,null],[1692816686,null],[1692816687,null],[1692816688,null],[1692816689,null],[1692816690,null],[1692816691,null],[1692816692,null],[1692816693,null],[1692816694,null],[1692816695,null],[1692816696,null],[1692816697,null],[1692816698,null],[1692816699,null],[1692816700,null],[1692816701,null],[1692816702,null],[1692816703,null],[1692816704,null],[1692816705,null],[1692816706,null],[1692816707,null],[1692816708,null],[1692816709,null],[1692816710,null],[1692816711,null],[1692816712,null],[1692816713,null],[1692816714,null],[1692816715,null],[1692816716,null],[1692816717,null],[1692816718,null],[1692816719,null],[1692816720,null],[1692816721,null],[1692816722,null],[1692816723,null],[1692816724,null],[1692816725,null],[1692816726,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692816501,[2,0,2]],[1692816502,[2,0,2]],[1692816503,[2,0,2]],[1692816504,[2,0,2]],[1692816505,[2,0,2]],[1692816506,[2,0,2]],[1692816507,[2,0,2]],[1692816508,[2,0,2]],[1692816509,[2,0,2]],[1692816510,[2,0,2]],[1692816511,[2,0,2]],[1692816512,[2,0,2]],[1692816513,[2,0,2]],[1692816514,[2,0,2]],[1692816515,[2,0,2]],[1692816516,[2,0,2]],[1692816517,[2,0,2]],[1692816518,[2,0,2]],[1692816519,[2,0,2]],[1692816520,[2,0,2]],[1692816521,[2,0,2]],[1692816522,[2,0,2]],[1692816523,[2,0,2]],[1692816524,[2,0,2]],[1692816525,[2,0,2]],[1692816526,[4,0,4]],[1692816527,[6,0,6]],[1692816528,[7,0,7]],[1692816529,[8,0,8]],[1692816530,[8,0,8]],[1692816531,[8,0,8]],[1692816532,[9,0,9]],[1692816533,[10,0,10]],[1692816534,[10,0,10]],[1692816535,[11,0,11]],[1692816536,[11,0,11]],[1692816537,[12,0,12]],[1692816538,[12,0,12]],[1692816539,[13,0,13]],[1692816540,[13,0,13]],[1692816541,[14,0,14]],[1692816542,[15,0,15]],[1692816543,[15,0,15]],[1692816544,[15,0,15]],[1692816545,[16,0,16]],[1692816546,[17,0,17]],[1692816547,[17,0,17]],[1692816548,[17,0,17]],[1692816549,[18,0,18]],[1692816550,[19,0,19]],[1692816551,[19,0,19]],[1692816552,[19,0,19]],[1692816553,[20,0,20]],[1692816554,[21,0,21]],[1692816555,[21,0,21]],[1692816556,[22,0,22]],[1692816557,[22,0,22]],[1692816558,[23,0,23]],[1692816559,[23,0,23]],[1692816560,[23,0,23]],[1692816561,[25,0,25]],[1692816562,[25,0,25]],[1692816563,[25,0,25]],[1692816564,[26,0,26]],[1692816565,[26,0,26]],[1692816566,[27,0,27]],[1692816567,[28,0,28]],[1692816568,[28,0,28]],[1692816569,[28,0,28]],[1692816570,[29,0,29]],[1692816571,[30,0,30]],[1692816572,[29,0,29]],[1692816573,[31,0,31]],[1692816574,[31,0,31]],[1692816575,[32,0,32]],[1692816576,[32,0,32]],[1692816577,[33,0,33]],[1692816578,[33,0,33]],[1692816579,[34,0,34]],[1692816580,[34,0,34]],[1692816581,[34,0,34]],[1692816582,[36,0,36]],[1692816583,[36,0,36]],[1692816584,[36,0,36]],[1692816585,[37,0,37]],[1692816586,[37,0,37]],[1692816587,[38,0,38]],[1692816588,[38,0,38]],[1692816589,[39,0,39]],[1692816590,[40,0,40]],[1692816591,[40,0,40]],[1692816592,[41,0,41]],[1692816593,[41,0,41]],[1692816594,[41,0,41]],[1692816595,[42,0,42]],[1692816596,[43,0,43]],[1692816597,[43,0,43]],[1692816598,[43,0,43]],[1692816599,[44,0,44]],[1692816600,[45,0,45]],[1692816601,[45,0,45]],[1692816602,[46,0,46]],[1692816603,[46,0,46]],[1692816604,[47,0,47]],[1692816605,[47,0,47]],[1692816606,[48,0,48]],[1692816607,[48,0,48]],[1692816608,[49,0,49]],[1692816609,[49,0,49]],[1692816610,[50,0,50]],[1692816611,[51,0,51]],[1692816612,[51,0,51]],[1692816613,[51,0,51]],[1692816614,[52,0,52]],[1692816615,[53,0,53]],[1692816616,[53,0,53]],[1692816617,[53,0,53]],[1692816618,[55,0,55]],[1692816619,[54,0,54]],[1692816620,[55,0,55]],[1692816621,[56,0,56]],[1692816622,[56,0,56]],[1692816623,[56,0,56]],[1692816624,[58,0,58]],[1692816625,[58,0,58]],[1692816626,[58,0,58]],[1692816627,[58,0,58]],[1692816628,[60,0,60]],[1692816629,[60,0,60]],[1692816630,[60,0,60]],[1692816631,[60,0,60]],[1692816632,[62,0,62]],[1692816633,[62,0,62]],[1692816634,[62,0,62]],[1692816635,[63,0,63]],[1692816636,[64,0,64]],[1692816637,[64,0,64]],[1692816638,[64,0,64]],[1692816639,[65,0,65]],[1692816640,[66,0,66]],[1692816641,[66,0,66]],[1692816642,[67,0,67]],[1692816643,[67,0,67]],[1692816644,[67,0,67]],[1692816645,[69,0,69]],[1692816646,[68,0,68]],[1692816647,[69,0,69]],[1692816648,[70,0,70]],[1692816649,[70,0,70]],[1692816650,[71,0,71]],[1692816651,[71,0,71]],[1692816652,[72,0,72]],[1692816653,[73,0,73]],[1692816654,[73,0,73]],[1692816655,[73,0,73]],[1692816656,[73,0,73]],[1692816657,[75,0,75]],[1692816658,[75,0,75]],[1692816659,[75,0,75]],[1692816660,[76,0,76]],[1692816661,[77,0,77]],[1692816662,[77,0,77]],[1692816663,[77,0,77]],[1692816664,[77,0,77]],[1692816665,[80,0,80]],[1692816666,[79,0,79]],[1692816667,[81,0,81]],[1692816668,[80,0,80]],[1692816669,[80,0,80]],[1692816670,[81,0,81]],[1692816671,[82,0,82]],[1692816672,[82,0,82]],[1692816673,[83,0,83]],[1692816674,[83,0,83]],[1692816675,[84,0,84]],[1692816676,[85,0,85]],[1692816677,[84,0,84]],[1692816678,[86,0,86]],[1692816679,[86,0,86]],[1692816680,[86,0,86]],[1692816681,[87,0,87]],[1692816682,[88,0,88]],[1692816683,[88,0,88]],[1692816684,[88,0,88]],[1692816685,[89,0,89]],[1692816686,[90,0,90]],[1692816687,[90,0,90]],[1692816688,[90,0,90]],[1692816689,[91,0,91]],[1692816690,[92,0,92]],[1692816691,[93,0,93]],[1692816692,[93,0,93]],[1692816693,[93,0,93]],[1692816694,[93,0,93]],[1692816695,[95,0,95]],[1692816696,[95,0,95]],[1692816697,[95,0,95]],[1692816698,[95,0,95]],[1692816699,[97,0,97]],[1692816700,[97,0,97]],[1692816701,[97,0,97]],[1692816702,[98,0,98]],[1692816703,[99,0,99]],[1692816704,[99,0,99]],[1692816705,[99,0,99]],[1692816706,[46,0,46]],[1692816707,[0,0,0]],[1692816708,[0,0,0]],[1692816709,[0,0,0]],[1692816710,[0,0,0]],[1692816711,[0,0,0]],[1692816712,[0,0,0]],[1692816713,[0,0,0]],[1692816714,[0,0,0]],[1692816715,[0,0,0]],[1692816716,[0,0,0]],[1692816717,[0,0,0]],[1692816718,[0,0,0]],[1692816719,[0,0,0]],[1692816720,[0,0,0]],[1692816721,[0,0,0]],[1692816722,[0,0,0]],[1692816723,[0,0,0]],[1692816724,[0,0,0]],[1692816725,[0,0,0]],[1692816726,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692816501,[0,0,0]],[1692816502,[0,0,0]],[1692816503,[0,0,0]],[1692816504,[0,0,0]],[1692816505,[10,0,10]],[1692816506,[2,0,2]],[1692816507,[2,0,2]],[1692816508,[2,0,2]],[1692816509,[2,0,2]],[1692816510,[0,0,0]],[1692816511,[2,0,2]],[1692816512,[1,0,1]],[1692816513,[5,0,5]],[1692816514,[2,0,2]],[1692816515,[2,0,2]],[1692816516,[2,0,2]],[1692816517,[2,0,2]],[1692816518,[2,0,2]],[1692816519,[2,0,2]],[1692816520,[1,0,1]],[1692816521,[2,0,2]],[1692816522,[3,0,3]],[1692816523,[2,0,2]],[1692816524,[2,0,2]],[1692816525,[2,0,2]],[1692816526,[4,0,4]],[1692816527,[6,0,6]],[1692816528,[7,0,7]],[1692816529,[6,0,6]],[1692816530,[8,0,8]],[1692816531,[8,0,8]],[1692816532,[11,0,11]],[1692816533,[10,0,10]],[1692816534,[10,0,10]],[1692816535,[11,0,11]],[1692816536,[11,0,11]],[1692816537,[12,0,12]],[1692816538,[11,0,11]],[1692816539,[13,0,13]],[1692816540,[13,0,13]],[1692816541,[15,0,15]],[1692816542,[15,0,15]],[1692816543,[15,0,15]],[1692816544,[15,0,15]],[1692816545,[16,0,16]],[1692816546,[17,0,17]],[1692816547,[15,0,15]],[1692816548,[17,0,17]],[1692816549,[18,0,18]],[1692816550,[21,0,21]],[1692816551,[19,0,19]],[1692816552,[19,0,19]],[1692816553,[20,0,20]],[1692816554,[21,0,21]],[1692816555,[21,0,21]],[1692816556,[21,0,21]],[1692816557,[22,0,22]],[1692816558,[23,0,23]],[1692816559,[24,0,24]],[1692816560,[23,0,23]],[1692816561,[25,0,25]],[1692816562,[25,0,25]],[1692816563,[25,0,25]],[1692816564,[26,0,26]],[1692816565,[25,0,25]],[1692816566,[27,0,27]],[1692816567,[28,0,28]],[1692816568,[29,0,29]],[1692816569,[28,0,28]],[1692816570,[29,0,29]],[1692816571,[30,0,30]],[1692816572,[29,0,29]],[1692816573,[31,0,31]],[1692816574,[29,0,29]],[1692816575,[32,0,32]],[1692816576,[32,0,32]],[1692816577,[35,0,35]],[1692816578,[33,0,33]],[1692816579,[34,0,34]],[1692816580,[34,0,34]],[1692816581,[34,0,34]],[1692816582,[36,0,36]],[1692816583,[34,0,34]],[1692816584,[36,0,36]],[1692816585,[37,0,37]],[1692816586,[39,0,39]],[1692816587,[38,0,38]],[1692816588,[38,0,38]],[1692816589,[39,0,39]],[1692816590,[40,0,40]],[1692816591,[40,0,40]],[1692816592,[38,0,38]],[1692816593,[42,0,42]],[1692816594,[41,0,41]],[1692816595,[44,0,44]],[1692816596,[43,0,43]],[1692816597,[43,0,43]],[1692816598,[43,0,43]],[1692816599,[44,0,44]],[1692816600,[45,0,45]],[1692816601,[44,0,44]],[1692816602,[46,0,46]],[1692816603,[46,0,46]],[1692816604,[48,0,48]],[1692816605,[47,0,47]],[1692816606,[48,0,48]],[1692816607,[48,0,48]],[1692816608,[49,0,49]],[1692816609,[49,0,49]],[1692816610,[45,0,45]],[1692816611,[56,0,56]],[1692816612,[51,0,51]],[1692816613,[51,0,51]],[1692816614,[52,0,52]],[1692816615,[53,0,53]],[1692816616,[52,0,52]],[1692816617,[54,0,54]],[1692816618,[54,0,54]],[1692816619,[52,0,52]],[1692816620,[55,0,55]],[1692816621,[56,0,56]],[1692816622,[58,0,58]],[1692816623,[57,0,57]],[1692816624,[57,0,57]],[1692816625,[59,0,59]],[1692816626,[55,0,55]],[1692816627,[61,0,61]],[1692816628,[58,0,58]],[1692816629,[61,0,61]],[1692816630,[59,0,59]],[1692816631,[62,0,62]],[1692816632,[61,0,61]],[1692816633,[63,0,63]],[1692816634,[59,0,59]],[1692816635,[66,0,66]],[1692816636,[61,0,61]],[1692816637,[67,0,67]],[1692816638,[58,0,58]],[1692816639,[70,0,70]],[1692816640,[66,0,66]],[1692816641,[67,0,67]],[1692816642,[65,0,65]],[1692816643,[48,0,48]],[1692816644,[87,0,87]],[1692816645,[69,0,69]],[1692816646,[66,0,66]],[1692816647,[67,0,67]],[1692816648,[72,0,72]],[1692816649,[71,0,71]],[1692816650,[73,0,73]],[1692816651,[62,0,62]],[1692816652,[81,0,81]],[1692816653,[60,0,60]],[1692816654,[86,0,86]],[1692816655,[67,0,67]],[1692816656,[77,0,77]],[1692816657,[64,0,64]],[1692816658,[87,0,87]],[1692816659,[53,0,53]],[1692816660,[98,0,98]],[1692816661,[59,0,59]],[1692816662,[95,0,95]],[1692816663,[47,0,47]],[1692816664,[99,0,99]],[1692816665,[54,0,54]],[1692816666,[112,0,112]],[1692816667,[45,0,45]],[1692816668,[107,0,107]],[1692816669,[1,0,1]],[1692816670,[7,0,7]],[1692816671,[13,0,13]],[1692816672,[70,0,70]],[1692816673,[58,0,58]],[1692816674,[10,0,10]],[1692816675,[27,0,27]],[1692816676,[54,0,54]],[1692816677,[33,0,33]],[1692816678,[99,0,99]],[1692816679,[90,0,90]],[1692816680,[57,0,57]],[1692816681,[55,0,55]],[1692816682,[40,0,40]],[1692816683,[64,0,64]],[1692816684,[46,0,46]],[1692816685,[5,0,5]],[1692816686,[11,0,11]],[1692816687,[116,0,116]],[1692816688,[0,0,0]],[1692816689,[28,0,28]],[1692816690,[85,0,85]],[1692816691,[165,0,165]],[1692816692,[14,0,14]],[1692816693,[71,0,71]],[1692816694,[60,0,60]],[1692816695,[45,0,45]],[1692816696,[33,0,33]],[1692816697,[70,0,70]],[1692816698,[130,0,130]],[1692816699,[77,0,77]],[1692816700,[87,0,87]],[1692816701,[146,0,146]],[1692816702,[33,0,33]],[1692816703,[128,0,128]],[1692816704,[20,0,20]],[1692816705,[127,0,127]],[1692816706,[148,0,148]],[1692816707,[85,0,85]],[1692816708,[158,0,158]],[1692816709,[140,0,140]],[1692816710,[71,0,71]],[1692816711,[15,0,15]],[1692816712,[152,0,152]],[1692816713,[70,0,70]],[1692816714,[92,0,92]],[1692816715,[76,0,76]],[1692816716,[80,0,80]],[1692816717,[17,0,17]],[1692816718,[110,0,110]],[1692816719,[1,0,1]],[1692816720,[0,0,0]],[1692816721,[0,0,0]],[1692816722,[0,0,0]],[1692816723,[0,0,0]],[1692816724,[0,0,0]],[1692816725,[0,0,0]],[1692816726,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 9590.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[6,3571],[6,2629],[6,1647],[6,649],[6,3],[6,2],[6,3],[6,3],[6,4],[6,3035],[6,2],[7,2],[7,2],[7,2],[8,10],[8,4],[8,1484],[9,1015],[9,3],[9,3],[9,2],[10,2],[11,3],[11,3],[11,1],[15,9],[21,3],[26,6],[30,2878],[35,11],[37,7],[42,3],[47,2],[50,3],[55,5],[58,3],[62,3],[66,1109],[70,3],[74,2],[79,30],[83,8],[85,8],[91,4],[95,2],[99,4],[102,2815],[105,4],[111,2],[115,2],[119,6],[120,3],[128,2],[130,2],[135,6],[139,4],[142,2],[146,4],[150,2],[155,2],[159,2],[162,2],[166,4],[171,2],[175,7],[178,3],[183,2],[187,2],[190,3],[196,2],[198,2],[202,3],[207,6],[210,1477],[216,2],[219,2],[222,9],[227,2],[231,2],[234,2],[239,4],[243,2],[247,742],[251,1],[255,2],[259,1],[262,2],[267,2],[270,1],[276,2],[279,2],[282,16],[288,3],[290,1],[295,3],[299,2],[304,1],[305,1],[311,2],[316,1],[319,2],[322,5],[327,2],[332,2],[335,3],[339,4],[342,1],[342,12030],[347,3],[351,2],[356,84],[359,24],[363,13],[367,6],[372,38],[375,6],[379,17],[383,12],[388,51],[390,1048],[395,14],[400,14],[402,43],[408,25],[411,9],[416,22],[419,19],[423,142],[427,9],[432,8],[435,10],[439,251],[444,17],[447,17],[451,74],[455,89],[460,56],[463,122],[467,92],[472,379],[477,15],[478,50],[484,7],[487,373],[492,43],[496,44],[499,25],[502,95],[508,11],[512,29],[516,20],[519,184],[524,111],[528,294],[532,214],[535,101],[539,88],[543,243],[548,265],[551,632],[556,442],[560,389],[564,347],[567,712],[568,627],[580,965],[580,673],[584,1159],[587,1757],[591,3877],[596,5927],[600,6649],[603,6525],[608,6041],[610,6366],[618,6795],[622,7410],[622,9486],[628,10303],[631,11619],[637,11352],[640,10562],[643,10729],[648,11080],[652,13796],[656,14925],[660,19233],[664,19305],[667,17570],[672,13792],[677,18059],[680,17554],[684,13686],[688,12779],[692,13756],[696,16970],[701,16986],[703,17255],[707,11245],[713,16115],[716,13335],[719,16382],[725,15711],[728,14877],[734,13806],[734,12391]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
